package com.rongcheng.fortestlist.LifeStyle;

import android.content.Intent;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.support.annotation.IdRes;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StyleRes;
import android.support.v4.app.TaskStackBuilder;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.app.AppCompatDelegate;
import android.support.v7.view.ActionMode;
import android.support.v7.widget.Toolbar;
import android.support.v7.widget.VectorEnabledTintResources;
import android.util.Log;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.View;
import android.view.ViewGroup;

import com.rongcheng.fortestlist.R;

public class LifeStyleActivity extends AppCompatActivity {
    static final String TAG = "LifeStyle";


    public LifeStyleActivity() {
        super();
    }



    @Nullable
    @Override
    public ActionBar getSupportActionBar() {
        Log.e(TAG, "getSupportActionBar");
        return super.getSupportActionBar();
    }

    @Override
    public void setSupportActionBar(@Nullable Toolbar toolbar) {
        super.setSupportActionBar(toolbar);
        Log.e(TAG, "setSupportActionBar");
    }



    @Override
    public void setContentView(View view) {
        super.setContentView(view);
        Log.e(TAG, "setContentView(View view)");
    }

    @Override
    public void setContentView(View view, ViewGroup.LayoutParams params) {
        super.setContentView(view, params);
        Log.e(TAG, "setContentView(View view, ViewGroup.LayoutParams params)");
    }

    @Override
    public void addContentView(View view, ViewGroup.LayoutParams params) {
        super.addContentView(view, params);
        Log.e(TAG, "addContentView");
    }

    @Override
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);
        Log.e(TAG, "onConfigurationChanged");
    }



    @Override
    public View findViewById(@IdRes int id) {
        Log.e(TAG, "findViewById");
        return super.findViewById(id);
    }


    @Override
    public boolean supportRequestWindowFeature(int featureId) {
        Log.e(TAG, "supportRequestWindowFeature");
        return super.supportRequestWindowFeature(featureId);
    }

    @Override
    public void supportInvalidateOptionsMenu() {
        super.supportInvalidateOptionsMenu();
        Log.e(TAG, "supportInvalidateOptionsMenu");
    }

    @Override
    public void invalidateOptionsMenu() {
        super.invalidateOptionsMenu();
        Log.e(TAG, "invalidateOptionsMenu");
    }

    @Override
    public void onSupportActionModeStarted(@NonNull ActionMode mode) {
        super.onSupportActionModeStarted(mode);
        Log.e(TAG, "onSupportActionModeStarted");
    }

    @Override
    public void onSupportActionModeFinished(@NonNull ActionMode mode) {
        super.onSupportActionModeFinished(mode);
        Log.e(TAG, "onSupportActionModeFinished");
    }

    @Nullable
    @Override
    public ActionMode onWindowStartingSupportActionMode(@NonNull ActionMode.Callback callback) {
        Log.e(TAG, "onWindowStartingSupportActionMode");
        return super.onWindowStartingSupportActionMode(callback);
    }

    @Nullable
    @Override
    public ActionMode startSupportActionMode(@NonNull ActionMode.Callback callback) {
        Log.e(TAG, "startSupportActionMode");
        return super.startSupportActionMode(callback);
    }

    @Override
    public void onCreateSupportNavigateUpTaskStack(@NonNull TaskStackBuilder builder) {
        Log.e(TAG, "onCreateSupportNavigateUpTaskStack");
        super.onCreateSupportNavigateUpTaskStack(builder);
    }

    @Override
    public void onPrepareSupportNavigateUpTaskStack(@NonNull TaskStackBuilder builder) {
        Log.e(TAG, "onPrepareSupportNavigateUpTaskStack");
        super.onPrepareSupportNavigateUpTaskStack(builder);
    }

    @Override
    public boolean onSupportNavigateUp() {
        Log.e(TAG, "onSupportNavigateUp");
        return super.onSupportNavigateUp();
    }

    @Nullable
    @Override
    public Intent getSupportParentActivityIntent() {
        Log.e(TAG, "getSupportParentActivityIntent");
        return super.getSupportParentActivityIntent();
    }

    @Override
    public boolean supportShouldUpRecreateTask(@NonNull Intent targetIntent) {
        Log.e(TAG, "supportShouldUpRecreateTask");
        return super.supportShouldUpRecreateTask(targetIntent);
    }

    @Override
    public void supportNavigateUpTo(@NonNull Intent upIntent) {
        Log.e(TAG, "supportNavigateUpTo");
        super.supportNavigateUpTo(upIntent);
    }


    @Nullable
    @Override
    public ActionBarDrawerToggle.Delegate getDrawerToggleDelegate() {
        Log.e(TAG, "getDrawerToggleDelegate");
        return super.getDrawerToggleDelegate();
    }

    @Override
    public boolean onMenuOpened(int featureId, Menu menu) {
        Log.e(TAG, "onMenuOpened");
        return super.onMenuOpened(featureId, menu);
    }

    @Override
    public void onPanelClosed(int featureId, Menu menu) {
        Log.e(TAG, "onPanelClosed");
        super.onPanelClosed(featureId, menu);
    }



    @NonNull
    @Override
    public AppCompatDelegate getDelegate() {
        Log.e(TAG, "setTheme");
        return super.getDelegate();
    }

    @Override
    public boolean dispatchKeyEvent(KeyEvent event) {
        Log.e(TAG, "dispatchKeyEvent");
        return super.dispatchKeyEvent(event);
    }
/****************************************************************************************************************/



    @Override
    public Resources getResources() {
        Log.e(TAG, "getResources");
        return super.getResources();
    }

    @Override
    public void setTheme(@StyleRes int resid) {
        super.setTheme(resid);
        Log.e(TAG, "setTheme");
    }

    @Override
    public void onContentChanged() {
        Log.e(TAG, "onContentChanged");
        super.onContentChanged();
    }

    @Override
    public void setContentView(@LayoutRes int layoutResID) {
        super.setContentView(layoutResID);
        Log.e(TAG, "setContentView(@LayoutRes int layoutResID)");
    }


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_life_style);
        Log.e(TAG, "onCreate");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Log.e(TAG, "onStart");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Log.e(TAG, "onStart");
    }

    @Override
    protected void onTitleChanged(CharSequence title, int color) {
        super.onTitleChanged(title, color);
        Log.e(TAG, "onTitleChanged");
    }

    @Override
    protected void onPostCreate(@Nullable Bundle savedInstanceState) {
        super.onPostCreate(savedInstanceState);
        Log.e(TAG, "onPostCreate");
    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.e(TAG, "onResume");
    }

    @Override
    protected void onPostResume() {
        super.onPostResume();
        Log.e(TAG, "onPostResume");
    }

    @Override
    public MenuInflater getMenuInflater() {
        Log.e(TAG, "getMenuInflater");
        return super.getMenuInflater();
    }
    @Override
    protected void onSaveInstanceState(Bundle outState) {
        Log.e(TAG, "onSaveInstanceState");
        super.onSaveInstanceState(outState);
    }
    @Override
    protected void onStop() {
        super.onStop();
        Log.e(TAG, "onStop");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.e(TAG, "onDestroy");
    }
}
